<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Blog" Namespace="CommunityServer.Blogs.Controls" Assembly="CommunityServer.Blogs" %>
<%@ Import Namespace="CommunityServer.Components" %>
	
<asp:Repeater id="Posts" runat="Server" >
	<HeaderTemplate>
		<ul class="BlogPostList">
	</HeaderTemplate>
	<ItemTemplate>
		<li class="BlogPostArea">
			<table cellpadding=0 cellspacing=0 border=0>
				<tr>
					<td valign="top" id="CommentCountBox" runat="server">
						<div class="BlogRating">
							<asp:HyperLink CssClass="BlogCommentCount" id="CommentCount" Runat="server" />
							<br />
							<asp:HyperLink id="Comment" Runat="server" />
							<br />
							<asp:HyperLink id="ViewsLink" Runat="server" />
							<Blog:BlogRatePost id="Ratings" runat="server" CssClass="CommonRateControl" ReadOnlyCssClass="CommonRateControlReadOnly" ActiveCssClass="CommonRateControlActive" ImagesBaseUrl="~/Themes/default/images/common/" />
							<br />
						</div>
					</td>
					
					<td width=100%>
						<h4 class="BlogPostHeader"><asp:HyperLink Runat="server" id="TitleLink" /></h4>
						<div class="BlogPostContent">
							<asp:Literal runat="server" id="Body"/>
						</div>
						<div class="BlogPostFooter">
							<div>
							<asp:Literal runat="server" id="Posted"/> 
							<CS:ResourceControl runat="server" ResourceName="Weblog_Aggregate_By" id="PostByResource" /> 
							<asp:HyperLink Runat="server" id="User" />
							<CS:ResourceControl runat="server" ResourceName="To" id="Resourcecontrol1" /> 
							<asp:HyperLink Runat="server" id="Blog" />
							</div>
							<div>
							<asp:PlaceHolder Runat="server" ID="TagsList" />
							</div>
						</div>
					</td>
				</tr>
			</table>
		</li>
	</ItemTemplate>
	<FooterTemplate>
		</ul>
	</FooterTemplate>
</asp:Repeater>

<CS:SinglePager runat="Server" id="PostsPager"  />

	